var sm = document.getElementById("sm");
var close = document.getElementById("close");
var section = document.getElementById("section");

sm.onclick = function() {
	section.style.display = "block";
}

close.onclick = function() {
	section.style.display = "none";
}



var Audio = document.getElementById("audio");
var yy = document.getElementById("yy");

var a = true;
yy.onclick = function() {
	//console.log(Audio.pause())

	if(a) {
		Audio.pause();
		a = false;

		yy.classList.remove("tran");

	} else {
		Audio.play();
		a = true;
		yy.classList.add("tran");
	}

}